﻿@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Head
{
    <link href="~/Areas/Authority/css/role.authorize.css" rel="stylesheet" />
}

@*菜单列表*@
<div class="layui-form layui-row  childrenBody" id="authorize-form" style="width:95%;">
    <table class="layui-hide" id="menusList" lay-filter="menusList"></table>
</div>
<div class="layer-footer">
    <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="authorizeButton">确定</button>
    <button lay-btn="" class="layui-btn layui-btn-sm" id="btnClose">关闭</button>
</div>


@*按钮列表*@
<div class="layui-form layui-row  childrenBody" id="buttons-form" style="width:95%;display:none">
    <div class="layui-form-buttons">
    </div>
    <div class="layer-footer-fixed">
        <button class="layui-btn layui-btn-sm" lay-submit="" lay-filter="selestButtons">确定</button>
        <button lay-btn="" class="layui-btn layui-btn-sm" id="btnSelestClose">关闭</button>
    </div>
</div>

@section Foot
{
    <script type="text/html" id="gridTool">
        {{# if (d.children.length===0){ }}
        <a class='layui-btn  layui-btn-xs  layui-btn-normal' lay-event='funBtnButtons'><i class='layui-icon layui-icon-auz'></i>选择按钮</a>
        {{# } else { }}
        <a class="layui-btn  layui-btn-xs  layui-btn-disabled"><i class="layui-icon layui-icon-auz"></i>选择按钮</a>
        {{# } }}
    </script>

    <script src="~/Areas/Authority/js/role.authorize.js"></script>
}
